// 配置编译环境和线上环境之间的切换
//  website.btnRightBloon = false 配置开发环境显示 
import website from './website'
let baseUrl = '';
let ssoUrl = '';
const env = process.env.VUE_APP_BASE_API

if (env == 'talents-test') {
    // baseUrl = `/baseApi`; // 开发环境地址
    baseUrl = "http://localhost:8080";
    website.btnRightBloon = false
} else if(env == 'talents-local')  {
    // http://10.1.57.103/talents-api/swagger-ui.html
    baseUrl = "http://localhost:8080"; //测试环境
    website.btnRightBloon = true
} else{
    baseUrl = "http://localhost:8080";
    website.btnRightBloon = false
}
  
export {
    baseUrl,
    ssoUrl,
    env
}
